/**
 * Created by mac on 2018/9/6.
 */
//const defaultValue = {
//    test: 'ss'
//}
//
//const reducer = (state = defaultValue, action) => {
//    return state;
//};
//
//export default reducer;


import { reducer as commonentAReducer } from '../ComponentA/store';
import { reducer as commonentBReducer } from '../ComponentB/store';
import { combineReducers } from 'redux';

const reducer = combineReducers({
    componentA: commonentAReducer,
    componentB: commonentBReducer
})

export default reducer;